package com.briup.cms.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * comment
 * @author 
 */
@Table(name="comment")
@Data
@Entity
public class Comment implements Serializable {
    @Id
    private String id;

    private String content;

    private String author;

    @Column(name = "comment_date")
    private Date commentDate;

    private String status;

    @Column(name = "article_id")
    private String articleId;

    private static final long serialVersionUID = 1L;
}